diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-28 11:50:12 -0300 | 
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-06 15:43:06 -0300 | 
| commit | 20419d3a5bc0a278ed7e2ee54943674004411933 (patch) | |
| tree | 06090a146ff0c0f142108d608d96a6534facc862 /net/lapb/lapb_iface.c | |
| parent | ee2555b612869a763563c5389ad789a52db0afd1 (diff) | |
perf map: Allow map__next() to receive a NULL arg
Just like free(), return NULL in that case, will simplify the
for_each_entry_safe() iterators.
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions