[SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Tue, 6 Mar 2012 12:16:05 +0000 (04:16 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Mar 2012 07:26:35 +0000 (08:26 +0100)
We don't need to pack 'struct iscsi_chap_rec' as buffer is built
locally in the driver and pass to the user-space.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
include/scsi/iscsi_if.h

index eab830acf9ed1f4cb5164759845908d321e777cd..917741bb8e11d18b1dc7c88ddbbadc850029223e 100644 (file)
@@ -593,6 +593,6 @@ struct iscsi_chap_rec {
        char username[ISCSI_CHAP_AUTH_NAME_MAX_LEN];
        uint8_t password[ISCSI_CHAP_AUTH_SECRET_MAX_LEN];
        uint8_t password_length;
-} __packed;
+};
 
 #endif