Skip to content

Commit

Permalink
net: clean up net/ipv4/devinet.c
Browse files Browse the repository at this point in the history
Signed-off-by: Jianjun Kong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Jianjun Kong authored and davem330 committed Nov 3, 2008
1 parent f4cca7f commit 539afed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ static int inetdev_event(struct notifier_block *this, unsigned long event,
}

static struct notifier_block ip_netdev_notifier = {
.notifier_call =inetdev_event,
.notifier_call = inetdev_event,
};

static inline size_t inet_nlmsg_size(void)
Expand Down Expand Up @@ -1188,7 +1188,7 @@ static int inet_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb)
return skb->len;
}

static void rtmsg_ifa(int event, struct in_ifaddr* ifa, struct nlmsghdr *nlh,
static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh,
u32 pid)
{
struct sk_buff *skb;
Expand Down Expand Up @@ -1255,7 +1255,7 @@ static void inet_forward_change(struct net *net)
}

static int devinet_conf_proc(ctl_table *ctl, int write,
struct file* filp, void __user *buffer,
struct file *filp, void __user *buffer,
size_t *lenp, loff_t *ppos)
{
int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos);
Expand Down Expand Up @@ -1327,7 +1327,7 @@ static int devinet_conf_sysctl(ctl_table *table,
}

static int devinet_sysctl_forward(ctl_table *ctl, int write,
struct file* filp, void __user *buffer,
struct file *filp, void __user *buffer,
size_t *lenp, loff_t *ppos)
{
int *valp = ctl->data;
Expand Down Expand Up @@ -1356,7 +1356,7 @@ static int devinet_sysctl_forward(ctl_table *ctl, int write,
}

int ipv4_doint_and_flush(ctl_table *ctl, int write,
struct file* filp, void __user *buffer,
struct file *filp, void __user *buffer,
size_t *lenp, loff_t *ppos)
{
int *valp = ctl->data;
Expand Down

0 comments on commit 539afed

Please sign in to comment.