]> git.baikalelectronics.ru Git - kernel.git/commit
usb: remove junk from store_remove_id
authorAlan Cox <alan@linux.intel.com>
Mon, 17 Sep 2012 10:55:23 +0000 (11:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:10:57 +0000 (15:10 -0700)
commitb019c7ec471ce243a7dec0b938813d63731cf713
tree0d2dfb416b6a5ec02758f037f1e6cbc0d8177ab5
parent156ba1bf0b0efdd96ef8d5081fe3f2c8f5acb484
usb: remove junk from store_remove_id

retval is 0, and carefully assigned - and tested as non zero.

This is not useful. While we are at it remove some other bogus initialisation
in the function

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/driver.c