OSDN Git Service

sunrpc: Remove unneeded null check
authorXu Wang <vulab@iscas.ac.cn>
Wed, 10 Nov 2021 09:32:17 +0000 (09:32 +0000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 6 Jan 2022 19:00:20 +0000 (14:00 -0500)
commit35e0f9a9af4869a4b1a3943da08d3a29ac6c4a42
tree03aecdd3821a6bc58ac716c01413d1caedd65ef5
parentc72a826829ccfb38019187a3a5ba6d3584b7b7dc
sunrpc: Remove unneeded null check

In g_verify_token_header, the null check of 'ret'
is unneeded to be done twice.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/auth_gss/gss_generic_token.c