mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Delete unused variable in priv_ring_gp10b.c
This slipped in recently since there's no compilation check for this type of error. JIRA NVGPU-525 Signed-off-by: Alex Waterman <alexw@nvidia.com> Change-Id: I68cdef6f3e090058cd490bf49e5db1afb9cc2b39 Reviewed-on: https://git-master.nvidia.com/r/1687091 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ceb0ecb766
commit
fb150bfe8d
@@ -67,9 +67,8 @@ static const char *const error_type_badf5xyy[] = {
|
||||
void gp10b_priv_ring_decode_error_code(struct gk20a *g,
|
||||
u32 error_code)
|
||||
{
|
||||
u32 error_type, error_type_index;
|
||||
u32 error_type_index;
|
||||
|
||||
error_type = (error_code & 0x0000f000) >> 24;
|
||||
error_type_index = (error_code & 0x00000f00) >> 16;
|
||||
error_code = error_code & 0xBADFf000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user