commit | 0febc7b3cd17bd2323a036356c2ae6514acf9010 | [log] [tgz] |
---|---|---|
author | Tom Parkin <tparkin@katalix.com> | Thu Jul 23 12:29:50 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 23 11:54:40 2020 -0700 |
tree | f6ab4f820da4a733104e35cbf66134c0dd0ca07f | |
parent | 49b0aa1b6585705de4a08971602cd2726d9027f0 [diff] |
l2tp: cleanup comparisons to NULL checkpatch warns about comparisons to NULL, e.g. CHECK: Comparison to NULL could be written "!rt" #474: FILE: net/l2tp/l2tp_ip.c:474: + if (rt == NULL) { These sort of comparisons are generally clearer and more readable the way checkpatch suggests, so update l2tp accordingly. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>