bridge_device is static and thus doesn't need to be zero-initialized. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- drivers/dsp/bridge/rmgr/drv_interface.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index 7763346..559d14a 100755 --- a/drivers/dsp/bridge/rmgr/drv_interface.c +++ b/drivers/dsp/bridge/rmgr/drv_interface.c @@ -335,7 +335,6 @@ static int __init bridge_init(void) unregister_chrdev_region(dev, 1); return result; } - memset(bridge_device, 0, sizeof(struct bridge_dev)); cdev_init(&bridge_device->cdev, &bridge_fops); bridge_device->cdev.owner = THIS_MODULE; bridge_device->cdev.ops = &bridge_fops; -- 1.6.3.3.385.g60647 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html