Commit 6bfeebf2 authored by David S. Miller's avatar David S. Miller Committed by Christoph Hellwig

[SCTP]: Kill unused local variable in init_sctp_mibs.

parent 431dace2
...@@ -878,8 +878,6 @@ int sctp_register_pf(struct sctp_pf *pf, sa_family_t family) ...@@ -878,8 +878,6 @@ int sctp_register_pf(struct sctp_pf *pf, sa_family_t family)
static int __init init_sctp_mibs(void) static int __init init_sctp_mibs(void)
{ {
int i;
sctp_statistics[0] = alloc_percpu(struct sctp_mib); sctp_statistics[0] = alloc_percpu(struct sctp_mib);
if (!sctp_statistics[0]) if (!sctp_statistics[0])
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment