git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
drivers
/
net
/
appletalk
/
ltpc.c
diff --git
a/drivers/net/appletalk/ltpc.c
b/drivers/net/appletalk/ltpc.c
index
e69eead
..
34ffb54
100644
(file)
--- a/
drivers/net/appletalk/ltpc.c
+++ b/
drivers/net/appletalk/ltpc.c
@@
-652,9
+652,9
@@
static int do_write(struct net_device *dev, void *cbuf, int cbuflen,
int ret;
if(i) {
int ret;
if(i) {
- qels[i].cbuf =
(unsigned char *)
cbuf;
+ qels[i].cbuf = cbuf;
qels[i].cbuflen = cbuflen;
qels[i].cbuflen = cbuflen;
- qels[i].dbuf =
(unsigned char *)
dbuf;
+ qels[i].dbuf = dbuf;
qels[i].dbuflen = dbuflen;
qels[i].QWrite = 1;
qels[i].mailbox = i; /* this should be initted rather */
qels[i].dbuflen = dbuflen;
qels[i].QWrite = 1;
qels[i].mailbox = i; /* this should be initted rather */
@@
-676,9
+676,9
@@
static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
int ret;
if(i) {
int ret;
if(i) {
- qels[i].cbuf =
(unsigned char *)
cbuf;
+ qels[i].cbuf = cbuf;
qels[i].cbuflen = cbuflen;
qels[i].cbuflen = cbuflen;
- qels[i].dbuf =
(unsigned char *)
dbuf;
+ qels[i].dbuf = dbuf;
qels[i].dbuflen = dbuflen;
qels[i].QWrite = 0;
qels[i].mailbox = i; /* this should be initted rather */
qels[i].dbuflen = dbuflen;
qels[i].QWrite = 0;
qels[i].mailbox = i; /* this should be initted rather */