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

Commit c91368c4 authored by Sasha Levin's avatar Sasha Levin Committed by Arnaldo Carvalho de Melo
Browse files

uprobes: remove redundant check



We checked for uprobe==NULL earlier, no need to redo that.

Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1356030701-16284-22-git-send-email-sasha.levin@oracle.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 50ca19ae
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -901,7 +901,6 @@ void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consume
	}

	mutex_unlock(uprobes_hash(inode));
	if (uprobe)
	put_uprobe(uprobe);
}