Yes, I think it should be removed.

Alex

From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of 
StDenis, Tom
Sent: Friday, August 26, 2016 9:07 AM
To: amd-gfx list
Subject: Errant return in Carrizo SMU code


In the function


static int cz_check_fw_load_finish(struct pp_smumgr *smumgr,
  uint32_t firmware);

On line 198 of powerplay/smumgr/cz_smumgr.c there is an unconditional return in 
the middle of the function.  Is that an error or is the code after it truly 
dead code?

Tom
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to