]> Pileus Git - ~andy/linux/commitdiff
[SCSI] libosd: remover duplicate __bitwise annotation
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Apr 2013 07:19:05 +0000 (10:19 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 19:15:10 +0000 (12:15 -0700)
__be32 is already a __bitwise type so we don't need the second __bitwise
here.  It causes a Sparse error:
include/scsi/osd_protocol.h:110:26: error: invalid modifier

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
include/scsi/osd_protocol.h

index a6026da25f3e0bf5787d479e1511da85c1175299..25ac6283b9c753a6af74055d590a1ed613004be1 100644 (file)
@@ -107,7 +107,7 @@ enum osd_attributes_mode {
  *             int exponent: 04;
  *     }
  */
-typedef __be32 __bitwise osd_cdb_offset;
+typedef __be32 osd_cdb_offset;
 
 enum {
        OSD_OFFSET_UNUSED = 0xFFFFFFFF,