Skip to contentSkip to conversation

kcmp: Drop branch leftover typo

PATCH Applied Cyrill Gorcunov 2 participants 2 messages Sep 17, 2017 – Sep 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kcmp: Drop branch leftover typo

The else branch been leftover and escaped the source code refresh. Not a problem but better clean it up.

---
 kernel/kcmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kcmp.c +1 -1
Index: linux-ml.git/kernel/kcmp.c
===================================================================
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task
 	if (filp_epoll) {
 		filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
 		fput(filp_epoll);
-	} else
+	}
 
 	if (IS_ERR(filp_tgt))
 		return PTR_ERR(filp_tgt);
Acked-by on v1 1/1
#1 lore raw
Fixes 0791e3644e5e ("kcmp: add KCMP_EPOLL_TFD mode to compare epoll target files")
Quoted 25 lines · Cyrill Gorcunov

The else branch been leftover and escaped the source code refresh. Not a problem but better clean it up.

---
 kernel/kcmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-ml.git/kernel/kcmp.c
===================================================================

kernel/kcmp.c +1 -1
@@ -131,7 +131,7 @@ static int kcmp_epoll_target(struct task
 	if (filp_epoll) {
 		filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
 		fput(filp_epoll);
-	} else
+	}
 
 	if (IS_ERR(filp_tgt))
 		return PTR_ERR(filp_tgt);