https://github.com/torvalds/linux
Revision b9ad8985f25c158e71844c78277a0c0b3779d0d3 authored by Michael Hennerich on 09 April 2008, 00:41:58 UTC, committed by Linus Torvalds on 09 April 2008, 01:25:53 UTC
Remove unused label, and associated compiler warning.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6395bee
Raw File
Tip revision: b9ad8985f25c158e71844c78277a0c0b3779d0d3 authored by Michael Hennerich on 09 April 2008, 00:41:58 UTC
spi: spi_bfin5xx: remove unused label
Tip revision: b9ad898
nonet.c
/*
 * net/nonet.c
 *
 * Dummy functions to allow us to configure network support entirely
 * out of the kernel.
 *
 * Distributed under the terms of the GNU GPL version 2.
 * Copyright (c) Matthew Wilcox 2003
 */

#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>

static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
{
	return -ENXIO;
}

const struct file_operations bad_sock_fops = {
	.owner = THIS_MODULE,
	.open = sock_no_open,
};
back to top