diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 06:50:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-13 00:13:34 -0400 |
commit | 54cbb1cab88ef20c284eef8c24a6d86fad989464 (patch) | |
tree | f3e20c1e6935a5e4621c696769c24e10c439e495 /drivers/isdn/hysdn | |
parent | 06df277a670263a073362046855851aad278d988 (diff) |
drivers/isdn: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_proclog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c index 37a9dd337308..7003698e667d 100644 --- a/drivers/isdn/hysdn/hysdn_proclog.c +++ b/drivers/isdn/hysdn/hysdn_proclog.c | |||
@@ -158,7 +158,7 @@ hysdn_log_write(struct file *file, const char __user *buf, size_t count, loff_t | |||
158 | int found = 0; | 158 | int found = 0; |
159 | unsigned char *cp, valbuf[128]; | 159 | unsigned char *cp, valbuf[128]; |
160 | long base = 10; | 160 | long base = 10; |
161 | hysdn_card *card = (hysdn_card *) file->private_data; | 161 | hysdn_card *card = file->private_data; |
162 | 162 | ||
163 | if (count > (sizeof(valbuf) - 1)) | 163 | if (count > (sizeof(valbuf) - 1)) |
164 | count = sizeof(valbuf) - 1; /* limit length */ | 164 | count = sizeof(valbuf) - 1; /* limit length */ |