summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include
diff options
context:
space:
mode:
authorAlexander Curtin <alexander.curtin@unisys.com>2016-03-30 10:41:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-30 18:28:32 -0700
commit527486ee8fbb28fabd8fa51ddd4339a37ee15c5c (patch)
treed81f5cf5e5ee6a4fb6362314d0d8b7fa0c5db15a /drivers/staging/unisys/include
parent03d0d045c8884df5e0576d3eb7dbf53fa95fe7ce (diff)
downloadop-kernel-dev-527486ee8fbb28fabd8fa51ddd4339a37ee15c5c.zip
op-kernel-dev-527486ee8fbb28fabd8fa51ddd4339a37ee15c5c.tar.gz
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>
Diffstat (limited to 'drivers/staging/unisys/include')
-rw-r--r--drivers/staging/unisys/include/visorbus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h
index cbc6d8f..3788d16 100644
--- a/drivers/staging/unisys/include/visorbus.h
+++ b/drivers/staging/unisys/include/visorbus.h
@@ -124,7 +124,6 @@ struct visor_device {
*/
struct visorchannel *visorchannel;
uuid_le channel_type_guid;
- u64 channel_bytes;
/** These fields are for private use by the bus driver only.
* A notable exception is that the visor driver can use
OpenPOWER on IntegriCloud