diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 09:41:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-21 10:24:33 +0100 |
commit | 43e784eca86a38a957db4022b3e40efbb663b091 (patch) | |
tree | 9727707193cc3b6164c7bd24406a8aa9442703fc /drivers/of | |
parent | 75011682e7c57b085adb49e8305647ccfadbcf6a (diff) | |
download | linux-43e784eca86a38a957db4022b3e40efbb663b091.tar.bz2 |
n_hdlc: inline n_hdlc_release
Put the body of n_hdlc_release into the only caller. It can be seen,
that the "if" is superfluous now -- the same happens few lines above in
n_hdlc_tty_close already. So drop it.
Drop also n_hdlc2tty macro as this was the only user.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219084118.26491-12-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions