OSDN Git Service

staging: gasket: sysfs: remove legacy_device field
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2018 08:29:04 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Jul 2018 07:17:24 +0000 (09:17 +0200)
commit2e008cd075ba8c2b2212b9e8f3c75d79fa1ee44b
tree582950476f9947ad4cddc4ee42d91b05151b3785
parent3adb0e35a4d86b442a55eabfa6ab7b67059e514f
staging: gasket: sysfs: remove legacy_device field

This field is only ever checked, never actually set, and looks to be
left-over from some old interface of some sort.  As it's not being used
at all here, and is just adding to the complexity, delete it.

Cc: Rob Springer <rspringer@google.com>
Cc: John Joseph <jnjoseph@google.com>
Cc: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_sysfs.c