USB: storage: ene_ub6250: fix compile warnings
authorFelipe Balbi <balbi@ti.com>
Tue, 15 Nov 2011 07:23:26 +0000 (09:23 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:06:16 +0000 (10:06 -0800)
commitbc985c10f388c0e5fb2cff95ff2220721627fbd8
tree3d3bac5dcdd5cfc90e415b5f510d17be92ca9b8e
parent5b061623355d8f69327a24838b0aa05e435ae5d5
USB: storage: ene_ub6250: fix compile warnings

Fix the following compile warning:

| drivers/usb/storage/ene_ub6250.c: In function ‘ms_scsi_write’:
| drivers/usb/storage/ene_ub6250.c:1728:6: warning: ‘result’ may \
| be used uninitialized in this function [-Wuninitialized]
| drivers/usb/storage/ene_ub6250.c:1795:77: warning: ‘offset’ may \
| be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/ene_ub6250.c