git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
0b68177
)
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
author
Steve French
<sfrench@us.ibm.com>
Mon, 6 Jun 2005 17:31:45 +0000
(12:31 -0500)
committer
Steve French
<sfrench@us.ibm.com>
Mon, 6 Jun 2005 17:31:45 +0000
(12:31 -0500)
fs/cifs/netmisc.c
patch
|
blob
|
history
diff --git
a/fs/cifs/netmisc.c
b/fs/cifs/netmisc.c
index
a92af41
..
873b812
100644
(file)
--- a/
fs/cifs/netmisc.c
+++ b/
fs/cifs/netmisc.c
@@
-133,7
+133,6
@@
static const struct smb_to_posix_error mapping_table_ERRHRD[] = {
int
cifs_inet_pton(int address_family, char *cp,void *dst)
{
- struct in_addr address;
int value;
int digit;
int i;
@@
-190,8
+189,7
@@
cifs_inet_pton(int address_family, char *cp,void *dst)
if (value > addr_class_max[end - bytes])
return 0;
- address.s_addr = *((__be32 *) bytes) | htonl(value);
- *((__be32 *)dst) = address.s_addr;
+ *((__be32 *)dst) = *((__be32 *) bytes) | htonl(value);
return 1; /* success */
}