wireless: Remove casts to same type
[deliverable/linux.git] / drivers / net / wireless / libertas / debugfs.c
index a06cc283e23d1c3df6b645f30ce992875e0a0382..668dd27616a0c83f9a4a39b94de2ad22b8e98a2b 100644 (file)
@@ -483,7 +483,7 @@ static ssize_t lbs_rdmac_write(struct file *file,
                res = -EFAULT;
                goto out_unlock;
        }
-       priv->mac_offset = simple_strtoul((char *)buf, NULL, 16);
+       priv->mac_offset = simple_strtoul(buf, NULL, 16);
        res = count;
 out_unlock:
        free_page(addr);
@@ -565,7 +565,7 @@ static ssize_t lbs_rdbbp_write(struct file *file,
                res = -EFAULT;
                goto out_unlock;
        }
-       priv->bbp_offset = simple_strtoul((char *)buf, NULL, 16);
+       priv->bbp_offset = simple_strtoul(buf, NULL, 16);
        res = count;
 out_unlock:
        free_page(addr);
This page took 0.028574 seconds and 5 git commands to generate.