]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: include: removed unused 'visor_device.description'
authorAlexander Curtin <alexander.curtin@unisys.com>
Wed, 30 Mar 2016 14:41:43 +0000 (10:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 01:28:32 +0000 (18:28 -0700)
The 'description' variable in visor_device was added in preparation for
removing the 'device_info' struct when the uislib files were removed.

That attribute is never accessed nor set, and the 'name' attribute
provides enough information to correctly identify the driver, it is not
needed.

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

index 25ffdc03f020e13ed727cc319a530307ff9b1b6d..f7e753f2ba6c58a372307835b66e57e3bffb3eb2 100644 (file)
@@ -152,7 +152,6 @@ struct visor_device {
        uuid_le type;
        uuid_le inst;
        u8 *name;
-       u8 *description;
        struct controlvm_message_header *pending_msg_hdr;
        void *vbus_hdr_info;
        uuid_le partition_uuid;