diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-29 17:25:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 12:59:50 -0500 |
commit | da2bbdcc3838ce75c30bda8c3f9a6e55ece47ee1 (patch) | |
tree | 70c61e2415d60a878627a6d47c831dbfb767fd71 /drivers/usb/gadget/net2280.c | |
parent | aa459e6a2e8c9c5447b951f8f93e2ea76f65d104 (diff) |
USB: avoid needless address-taking of function parameters
There's no need to take the address of the function params or local variables
when the direct value byteswapping routines are available.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/net2280.c')
-rw-r--r-- | drivers/usb/gadget/net2280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 8ae70de2c37d..12c6d83b218c 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -669,7 +669,7 @@ fill_dma_desc (struct net2280_ep *ep, struct net2280_request *req, int valid) | |||
669 | 669 | ||
670 | /* 2280 may be polling VALID_BIT through ep->dma->dmadesc */ | 670 | /* 2280 may be polling VALID_BIT through ep->dma->dmadesc */ |
671 | wmb (); | 671 | wmb (); |
672 | td->dmacount = cpu_to_le32p (&dmacount); | 672 | td->dmacount = cpu_to_le32(dmacount); |
673 | } | 673 | } |
674 | 674 | ||
675 | static const u32 dmactl_default = | 675 | static const u32 dmactl_default = |