]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4e525da57065b9e6f02416a70e0fb8cbd327e44
tree582950476f9947ad4cddc4ee42d91b05151b3785
parentea4b04c31393424ea609ae1ed5f952717c461412
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