diff options
author | Ben Marsh <bmarsh94@gmail.com> | 2016-03-10 21:24:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 0df8f51eed506737a8ff3431e32a79135432cc3d (patch) | |
tree | 8c0af60c5d769557453d2df76722b15eaf0b48cf /drivers/staging | |
parent | 60d0ed1c425c71b6a87b1bace9a3b0f5efda9251 (diff) | |
download | linux-0df8f51eed506737a8ff3431e32a79135432cc3d.tar.bz2 |
Staging: nvec: removes an unnecessary cast on a void pointer
Patch to nvec_ps2.c to remove an unnecessary cast on a void pointer.
Signed-off-by: Ben Marsh <bmarsh94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/nvec/nvec_ps2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/nvec/nvec_ps2.c b/drivers/staging/nvec/nvec_ps2.c index 0922dd3a08d3..a324322ee0ad 100644 --- a/drivers/staging/nvec/nvec_ps2.c +++ b/drivers/staging/nvec/nvec_ps2.c @@ -78,7 +78,7 @@ static int nvec_ps2_notifier(struct notifier_block *nb, unsigned long event_type, void *data) { int i; - unsigned char *msg = (unsigned char *)data; + unsigned char *msg = data; switch (event_type) { case NVEC_PS2_EVT: |