diff options
author | Andy Shevchenko <[email protected]> | 2021-10-25 16:51:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-26 19:19:41 +0200 |
commit | 0572da285d694e945303e74b7f9084b41e02ecbd (patch) | |
tree | 5543e7463e7e2be3f9c4e6442fe20961a8bff4e3 /net/lapb/lapb_in.c | |
parent | 6333a485062172e1c118b44585d90c1d835aec52 (diff) |
tty: rpmsg: Assign returned id to a local variable
Instead of putting garbage in the data structure, assign allocated id
or an error code to a temporary variable. This makes code cleaner.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions