skd: Use __packed only when needed
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:09 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit53e617e3dd5f97647f8ed6156267ca9c50c281bd
tree28a69ce3e2bd6adc035c963db109c0f804ea0f5b
parent16a705341aa6ed419a2ae6293b5c49d5b7289941
skd: Use __packed only when needed

Since needless use of __packed slows down access to data structures,
only use __packed when needed.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_s1120.h