staging: unisys: Remove unncessary parenthesis
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 5 May 2015 22:35:43 +0000 (18:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 13:25:53 +0000 (15:25 +0200)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c

index 767c4953bfb92b18f378b4e6164b980c2740e344..b4e28d21d0c64da2bbc82a73192a02771c7dd805 100644 (file)
@@ -519,7 +519,7 @@ static ssize_t remaining_steps_store(struct device *dev,
 static void
 bus_info_clear(void *v)
 {
-       struct visorchipset_bus_info *p = (struct visorchipset_bus_info *) (v);
+       struct visorchipset_bus_info *p = (struct visorchipset_bus_info *) v;
 
        kfree(p->name);
        p->name = NULL;
@@ -535,7 +535,7 @@ static void
 dev_info_clear(void *v)
 {
        struct visorchipset_device_info *p =
-                       (struct visorchipset_device_info *)(v);
+               (struct visorchipset_device_info *) v;
 
        p->state.created = 0;
        memset(p, 0, sizeof(struct visorchipset_device_info));