From: Alexander Curtin Date: Wed, 30 Mar 2016 14:41:46 +0000 (-0400) Subject: staging: unisys: removed unused channel_bytes attribute X-Git-Tag: v4.7-rc1~90^2~486 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=527486ee8fbb28fabd8fa51ddd4339a37ee15c5c;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David Kershner Signed-off-by: Greg Kroah-Hartman --- 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