diff options
| author | Wolfgang Denk <wd@denx.de> | 2011-10-06 09:22:52 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-10-09 23:24:50 +0200 | 
| commit | 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff (patch) | |
| tree | 847cb55c4055ef08592fc366c7598edff1bdcd95 | |
| parent | fad2e1b06c12184a3273d52e6f6620b830c389e8 (diff) | |
| download | olio-uboot-2014.01-0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff.tar.xz olio-uboot-2014.01-0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff.zip | |
arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used
Fix:
usb_ohci.c: In function 'dl_transfer_length':
usb_ohci.c:768:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
| -rw-r--r-- | arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c b/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c index ccc97384f..9a0bbaeb4 100644 --- a/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c +++ b/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c @@ -765,10 +765,9 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe,  static void dl_transfer_length(struct td *td)  { -	__u32 tdINFO, tdBE, tdCBP; +	__u32 tdBE, tdCBP;  	struct urb_priv *lurb_priv = &urb_priv; -	tdINFO = m32_swap(td->hwINFO);  	tdBE = m32_swap(td->hwBE);  	tdCBP = m32_swap(td->hwCBP); |