Files
linux/net/core
Rasmus Villemoes 6224abda0d net: core: drop pointless check in __dev_alloc_name
The only caller passes a stack buffer as buf, so it won't equal the
passed-in name. Moreover, we're already using buf as a scratch buffer
inside the if (p) {} block, so if buf and name were the same, that
snprintf() call would be overwriting its own format string.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-14 16:38:46 +09:00
..
2017-08-31 14:42:19 -07:00
2017-03-12 23:47:16 -07:00
2017-11-05 22:26:20 +09:00
2015-04-02 14:04:59 -04:00
2017-11-05 21:49:17 +09:00
2017-04-13 13:58:20 -04:00
2017-11-14 16:18:36 +09:00