mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ppp_synctty: remove redundant skb null check in ppp_sync_txmunge()
The skb is already dereferenced before the check. In addition, a TX skb passed from the generic layer can never be null. Remove the redundant null check. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/r/202609132245.txZXoUxc-lkp@intel.com/ Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev> Link: https://patch.msgid.link/20260920114945.2517-1-qingfang.deng@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
944ae66642
commit
1196e46f6d
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue