Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e27dfcea authored by Jianjun Kong's avatar Jianjun Kong Committed by David S. Miller
Browse files

af_unix: clean up net/unix/af_unix.c garbage.c sysctl_net_unix.c



clean up net/unix/af_unix.c garbage.c sysctl_net_unix.c

Signed-off-by: default avatarJianjun Kong <jianjun@zeuux.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c37ccc0d
Loading
Loading
Loading
Loading
+36 −37
Original line number Diff line number Diff line
@@ -2077,6 +2077,7 @@ struct unix_iter_state {
	struct seq_net_private p;
	int i;
};

static struct sock *unix_seq_idx(struct seq_file *seq, loff_t pos)
{
	struct unix_iter_state *iter = seq->private;
@@ -2093,7 +2094,6 @@ static struct sock *unix_seq_idx(struct seq_file *seq, loff_t pos)
	return NULL;
}


static void *unix_seq_start(struct seq_file *seq, loff_t *pos)
	__acquires(unix_table_lock)
{
@@ -2173,7 +2173,6 @@ static const struct seq_operations unix_seq_ops = {
	.show   = unix_seq_show,
};


static int unix_seq_open(struct inode *inode, struct file *file)
{
	return seq_open_net(inode, file, &unix_seq_ops,
+0 −1
Original line number Diff line number Diff line
@@ -61,4 +61,3 @@ void unix_sysctl_unregister(struct net *net)
	unregister_sysctl_table(net->unx.ctl);
	kfree(table);
}
+6 −6

File changed.

Contains only whitespace changes.