summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/cezanne/graphics.c')
-rw-r--r--src/soc/amd/cezanne/graphics.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/soc/amd/cezanne/graphics.c b/src/soc/amd/cezanne/graphics.c
index 491ca871f0..2a0644344a 100644
--- a/src/soc/amd/cezanne/graphics.c
+++ b/src/soc/amd/cezanne/graphics.c
@@ -6,14 +6,11 @@
u32 map_oprom_vendev(u32 vendev)
{
- u32 new_vendev = vendev;
-
switch (vendev) {
case CEZANNE_VBIOS_VID_DID:
case BARCELO_VBIOS_VID_DID:
- new_vendev = CEZANNE_VBIOS_VID_DID;
- break;
+ return CEZANNE_VBIOS_VID_DID;
}
- return new_vendev;
+ return vendev;
}