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

Commit f4c57a78 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[PATCH] uml: fix initcall return values



A number of UML initcalls were improperly returning 1.  Also removed any
nearby emacs formatting comments.

Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9902abd7
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -95,18 +95,7 @@ static struct transport daemon_transport = {
static int register_daemon(void)
{
	register_transport(&daemon_transport);
	return(1);
	return 0;
}

__initcall(register_daemon);

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
+1 −12
Original line number Diff line number Diff line
@@ -124,18 +124,7 @@ static struct transport mcast_transport = {
static int register_mcast(void)
{
	register_transport(&mcast_transport);
	return(1);
	return 0;
}

__initcall(register_mcast);

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
+1 −12
Original line number Diff line number Diff line
@@ -106,18 +106,7 @@ static struct transport pcap_transport = {
static int register_pcap(void)
{
	register_transport(&pcap_transport);
	return(1);
	return 0;
}

__initcall(register_pcap);

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
+1 −12
Original line number Diff line number Diff line
@@ -93,18 +93,7 @@ static struct transport slip_transport = {
static int register_slip(void)
{
	register_transport(&slip_transport);
	return(1);
	return 0;
}

__initcall(register_slip);

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
+1 −12
Original line number Diff line number Diff line
@@ -116,18 +116,7 @@ static struct transport slirp_transport = {
static int register_slirp(void)
{
	register_transport(&slirp_transport);
	return(1);
	return 0;
}

__initcall(register_slirp);

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
Loading