]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: udc-xilinx: remove redundant pointer udc
authorColin Ian King <colin.king@canonical.com>
Wed, 8 Nov 2017 12:47:55 +0000 (12:47 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 11 Dec 2017 10:36:51 +0000 (12:36 +0200)
commit1fd4c45d6cd39a09bd8c7cbd57a7e83da97b51bf
treeefabfa1a9cdece6f5b211ea831f4084963a5ee28
parent2eeb44c4e5bc0cb0e9e43ff59c44098c925790a2
usb: gadget: udc-xilinx: remove redundant pointer udc

Pointer udc is assigned but never read, hence it is redundant and
can be removed. Cleans up clang warning:

drivers/usb/gadget/udc/udc-xilinx.c:974:2: warning: Value stored
to 'udc' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/udc-xilinx.c