Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git] / drivers / net / appletalk / ltpc.c
index e69eead..34ffb54 100644 (file)
@@ -652,9 +652,9 @@ static int do_write(struct net_device *dev, void *cbuf, int cbuflen,
        int ret;
 
        if(i) {
-               qels[i].cbuf = (unsigned char *) cbuf;
+               qels[i].cbuf = cbuf;
                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 */
@@ -676,9 +676,9 @@ static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
        int ret;
 
        if(i) {
-               qels[i].cbuf = (unsigned char *) cbuf;
+               qels[i].cbuf = cbuf;
                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 */