diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-03-21 01:59:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:59:36 -0500 |
commit | f4ad2b162d653e4a6e57d598119e3820c65fef71 (patch) | |
tree | 142e7160b4dda4c4080d688d82bb1462a10f7e03 /net/llc/llc_output.c | |
parent | fda93d92d7824159d8532995072dde2bee4bc4b3 (diff) |
[LLC]: llc_mac_hdr_init const arguments
Cleanup of LLC. llc_mac_hdr_init can take constant arguments,
and it is defined twice once in llc_output.h that is otherwise unused.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_output.c')
-rw-r--r-- | net/llc/llc_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/llc/llc_output.c b/net/llc/llc_output.c index b4d55b6abb67..b4e668e0e12c 100644 --- a/net/llc/llc_output.c +++ b/net/llc/llc_output.c | |||
@@ -30,7 +30,8 @@ | |||
30 | * Fills MAC header fields, depending on MAC type. Returns 0, If MAC type | 30 | * Fills MAC header fields, depending on MAC type. Returns 0, If MAC type |
31 | * is a valid type and initialization completes correctly 1, otherwise. | 31 | * is a valid type and initialization completes correctly 1, otherwise. |
32 | */ | 32 | */ |
33 | int llc_mac_hdr_init(struct sk_buff *skb, unsigned char *sa, unsigned char *da) | 33 | int llc_mac_hdr_init(struct sk_buff *skb, |
34 | const unsigned char *sa, const unsigned char *da) | ||
34 | { | 35 | { |
35 | int rc = 0; | 36 | int rc = 0; |
36 | 37 | ||