Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 527486ee authored by Alexander Curtin's avatar Alexander Curtin Committed by Greg Kroah-Hartman
Browse files

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: default avatarAlexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 03d0d045
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -124,7 +124,6 @@ struct visor_device {
	 */
	 */
	struct visorchannel *visorchannel;
	struct visorchannel *visorchannel;
	uuid_le channel_type_guid;
	uuid_le channel_type_guid;
	u64 channel_bytes;


	/** These fields are for private use by the bus driver only.
	/** These fields are for private use by the bus driver only.
	 *  A notable exception is that the visor driver can use
	 *  A notable exception is that the visor driver can use