OSDN Git Service

staging: greybus: loopback.c: remove unused lists
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 24 Oct 2018 10:48:20 +0000 (11:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 14:32:45 +0000 (15:32 +0100)
commitc49d3f3fa686dd03112de4c97f652dc67e4da7af
treec9b40bafbca1ef09c4a566cfb0407072064a1b2e
parente9c892465583c8f42d61fafe30970d36580925df
staging: greybus: loopback.c: remove unused lists

gb_loopback_device::list_op_async is never used except for the
LIST_INIT. The ::list field appears to have a few more uses, but on
closer inspection the linked list of struct gb_loopbacks that it heads
is never used for anything, so there's no reason to maintain it, much
less to keep it sorted.

Reviewed-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/loopback.c