platform/x86: dell_rbu: don't open code list_for_each_entry*()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Jan 2020 20:35:46 +0000 (22:35 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Feb 2020 15:47:38 +0000 (17:47 +0200)
commitd19f359fbdc6b5d49e9b9a0db27a996b28a2ded3
tree6fdcdd600f90234142375826f20e248b1936f7ab
parent94ed313404d8c345148239a873f2154ecb3d0c37
platform/x86: dell_rbu: don't open code list_for_each_entry*()

The loop declaration in packet_read_list() and packet_empty_list()
can be simplified by reusing the common list_for_each_entry*()
helper macros.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell_rbu.c