diff options
Diffstat (limited to 'drivers/block/sym53c8xx.c')
-rw-r--r-- | drivers/block/sym53c8xx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/block/sym53c8xx.c b/drivers/block/sym53c8xx.c index 5daede7279..50043e68af 100644 --- a/drivers/block/sym53c8xx.c +++ b/drivers/block/sym53c8xx.c @@ -284,9 +284,8 @@ void scsi_low_level_init(int busdevfunc) */ unsigned long swap_script(unsigned long val) { - unsigned long tmp; - tmp = ((val>>24)&0xff) | ((val>>8)&0xff00) | ((val<<8)&0xff0000) | ((val<<24)&0xff000000); - return tmp; + return ((val >> 24) & 0xff) | ((val >> 8) & 0xff00) | + ((val << 8) & 0xff0000) | ((val << 24) & 0xff000000); } |