diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 10:43:53 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-24 10:43:53 -0800 |
commit | a5d5d8477357078a636c7e0d1e80c128cfd25262 (patch) | |
tree | 1d1b582a5dcef7b2ab7e5ad38d98b5e33c3dd6bd /libnetutils/packet.c | |
parent | 7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff) | |
download | system_core-a5d5d8477357078a636c7e0d1e80c128cfd25262.zip system_core-a5d5d8477357078a636c7e0d1e80c128cfd25262.tar.gz system_core-a5d5d8477357078a636c7e0d1e80c128cfd25262.tar.bz2 |
Libnetutils: Remove unused functions & variables
For build-system CFLAGS clean-up, remove unused functions and
variables.
Change-Id: I40a78d5a532dc32b53beb1cfc1b7645bab8add16
Diffstat (limited to 'libnetutils/packet.c')
-rw-r--r-- | libnetutils/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetutils/packet.c b/libnetutils/packet.c index 3cdefb0..a878dd3 100644 --- a/libnetutils/packet.c +++ b/libnetutils/packet.c @@ -41,7 +41,7 @@ int fatal(); int open_raw_socket(const char *ifname __attribute__((unused)), uint8_t *hwaddr, int if_index) { - int s, flag; + int s; struct sockaddr_ll bindaddr; if((s = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) { |