public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] selinux: remove an unreachable line
@ 2009-12-01  7:41 Amerigo Wang
  2009-12-01  7:45 ` Joe Perches
  0 siblings, 1 reply; 8+ messages in thread
From: Amerigo Wang @ 2009-12-01  7:41 UTC (permalink / raw)
  To: linux-kernel
  Cc: Eric Paris, linux-security-module, akpm, Amerigo Wang,
	James Morris

This line is unreachable, remove it.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Eric Paris <eparis@parisplace.org>


---
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c
index b5407f1..a2f1034 100644
--- a/security/selinux/ss/mls.c
+++ b/security/selinux/ss/mls.c
@@ -544,7 +544,6 @@ int mls_compute_sid(struct context *scontext,
 	default:
 		return -EINVAL;
 	}
-	return -EINVAL;
 }
 
 #ifdef CONFIG_NETLABEL

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-12-03 19:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01  7:41 [Patch] selinux: remove an unreachable line Amerigo Wang
2009-12-01  7:45 ` Joe Perches
2009-12-01  8:31   ` Cong Wang
2009-12-01 10:33     ` James Morris
2009-12-03  8:38       ` Cong Wang
2009-12-02 12:35     ` Dan Carpenter
2009-12-03  8:39       ` Cong Wang
2009-12-03 19:38         ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox