]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: net2280: remove fiforegs as it is unused
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Mon, 2 Feb 2015 09:55:24 +0000 (10:55 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:30 +0000 (15:33 -0500)
commitfb2a85dd933c2793f5aabeb84af8b3bc00c0c968
tree0fcc7214c460a5629071832d1472fb2d8381bc97
parenta285f40d80d440853ac908017d6d949ae2a7f88e
usb: gadget: net2280: remove fiforegs as it is unused

Remove fiforegs from struct net2280 and net2280_ep as it is unused.
By the way, ep->fiforegs = &dev->fiforegs[i] assignment is incorrect.
It should be ep->fiforegs = &dev->fiforegs[ne[i]], but it doesn't
matter now.

Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c
drivers/usb/gadget/udc/net2280.h