OSDN Git Service

SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 8 Nov 2018 02:04:57 +0000 (02:04 +0000)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 8 Nov 2018 17:12:23 +0000 (12:12 -0500)
commit025911a5f4e36955498ed50806ad1b02f0f76288
treea7111fbd0c1870bd707816aaa54b22996ead658c
parent01310bb7c9c98752cc763b36532fab028e0f8f81
SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()

There is no need to have the '__be32 *p' variable static since new value
always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xdr.c