mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: fix sparse warnings
Fix below sparse warnings : warning: Using plain integer as NULL pointer warning: symbol <variable/funcion> was not declared. Should it be static? warning: Initializer entry defined twice Also, remove dead functions Bug 1573254 Change-Id: I29d71ecc01c841233cf6b26c9088ca8874773469 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/593363 Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
797e4dd319
commit
b3f575074b
@@ -96,7 +96,7 @@ static int gr_gk20a_get_netlist_name(int index, char *name)
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool gr_gk20a_is_firmware_defined(void)
|
||||
static bool gr_gk20a_is_firmware_defined(void)
|
||||
{
|
||||
#ifdef GK20A_NETLIST_IMAGE_FW_NAME
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user