lib: Pack struct sbi_fifo
authorAnup Patel <anup.patel@wdc.com>
Wed, 3 Apr 2019 06:57:27 +0000 (12:27 +0530)
committerAtish Patra <atishp04@gmail.com>
Wed, 3 Apr 2019 20:48:38 +0000 (13:48 -0700)
commit3fbe233a159798ee0360cc978aa1c9c3c51f6d88
treefb518b27251d6e05e285ffca6cf27b926801a680
parent9dc95021dbf29b96a84e0b7dca491f768aa0ef0d
lib: Pack struct sbi_fifo

This patch reduces memory consumed by struct sbi_fifo by droping
redundant "head" member and using u16 in-place of "unsigned long".

Signed-off-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_fifo.h
lib/sbi_fifo.c