mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
MISRA rule 2.2 defines dead code as "operations which are executed but removal of these operations has no effect on program behavior". Variable initializations violate this rule if initialized value is not used and replaced. This patch fixes some of these reported violations. Jira NVGPU-858 Change-Id: I694517ace8884c78c63f6346e455078d19b70b4d Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2110459 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>