[PATCH umr] Remove duplicate comparison in PM4 ring detection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
 src/app/ring_read.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/app/ring_read.c b/src/app/ring_read.c
index 714a54e4f5ea..401a1ac87b8d 100644
--- a/src/app/ring_read.c
+++ b/src/app/ring_read.c
@@ -54,7 +54,6 @@ void umr_read_ring(struct umr_asic *asic, char *ringpath)
 	    !memcmp(ringname, "uvd", 3) ||
 	    !memcmp(ringname, "vcn_dec", 7) ||
 	    !memcmp(ringname, "vcn_enc", 7) ||
-	    !memcmp(ringname, "vcn_enc", 7) ||
 	    !memcmp(ringname, "comp", 4)) {
 		enable_decoder = 1;
 		decoder.pm = 4;
-- 
2.12.0



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux