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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
aa459e6a2e
commit
da2bbdcc38
@@ -669,7 +669,7 @@ fill_dma_desc (struct net2280_ep *ep, struct net2280_request *req, int valid)
|
||||
|
||||
/* 2280 may be polling VALID_BIT through ep->dma->dmadesc */
|
||||
wmb ();
|
||||
td->dmacount = cpu_to_le32p (&dmacount);
|
||||
td->dmacount = cpu_to_le32(dmacount);
|
||||
}
|
||||
|
||||
static const u32 dmactl_default =
|
||||
|
Reference in New Issue
Block a user