Browse Source

staging: fsl-dpaa2/eth: Remove packed attribute

Structure dpaa2_fas is naturally aligned, so no need to use
the __packed attribute explicitly.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ioana Radulescu 7 years ago
parent
commit
2a6c7f34fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

+ 1 - 1
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

@@ -142,7 +142,7 @@ struct dpaa2_fas {
 	u8 ppid;
 	__le16 ifpid;
 	__le32 status;
-} __packed;
+};
 
 /* Frame annotation status word is located in the first 8 bytes
  * of the buffer's hardware annoatation area