]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: removed unused channel_bytes attribute
authorAlexander Curtin <alexander.curtin@unisys.com>
Wed, 30 Mar 2016 14:41:46 +0000 (10:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 01:28:32 +0000 (18:28 -0700)
commit79681b72382dfbf8ecba17f81292ebdb4f6861b5
treed81f5cf5e5ee6a4fb6362314d0d8b7fa0c5db15a
parentad86ccb2a2809de892a6193a22db68595c27c7c4
staging: unisys: removed unused channel_bytes attribute

The channel_bytes attribute in the visor_device struct was meant to keep
track of the number of bytes in the associated channel of the device.
Not only is the variable never set nor used, but the information can
already be accessed by referencing visor_device->visorchannel->nbytes.

Signed-off-by: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/visorbus.h