From c0467a9613b1927896ac154a968c34cef53e769e Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 1 Mar 2011 22:27:28 +0000 Subject: [PATCH] fix two missed style issues in switch, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40771 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/graphics/radeon/detect.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/add-ons/kernel/drivers/graphics/radeon/detect.c b/src/add-ons/kernel/drivers/graphics/radeon/detect.c index 063f49b459..b7544a7e70 100644 --- a/src/add-ons/kernel/drivers/graphics/radeon/detect.c +++ b/src/add-ons/kernel/drivers/graphics/radeon/detect.c @@ -581,8 +581,7 @@ static bool probeDevice(device_info *di) di->is_igp = (device->features & INTEGRATED) ? true : false; // detect chips with broken I2C - switch(device->device_id) - { + switch (device->device_id) { case DEVICE_ID_RADEON_LY: case DEVICE_ID_RADEON_LZ: case DEVICE_ID_RADEON_LW: @@ -600,8 +599,7 @@ static bool probeDevice(device_info *di) // disable 2d DMA engine for chips that don't work with our // dma code (yet). I would have used asic type, but R410s are // treated same asic as r420s in code, and the AGP x800 works fine. - switch (device->device_id) - { + switch (device->device_id) { // rv370 case DEVICE_ID_RADEON_5b60: case DEVICE_ID_RADEON_5b62: