From 36b6aca5c108e30af9742b79eff46272be771f82 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 11 Aug 2010 15:04:05 +0200 Subject: [PATCH] cdrom_id: whitespace fix --- extras/cdrom_id/cdrom_id.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 338b3782..5086bfa6 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -378,14 +378,12 @@ static int cd_profiles_old_mmc(struct udev *udev, int fd) if (header[2] & 16) { cd_media_cd_rw = 1; info(udev, "profile 0x0a media_cd_rw\n"); - } - else if ((header[2] & 3) < 2 && cd_cd_r) { + } else if ((header[2] & 3) < 2 && cd_cd_r) { cd_media_cd_r = 1; info(udev, "profile 0x09 media_cd_r\n"); - } - else { - cd_media_cd_rom = 1; - info(udev, "profile 0x08 media_cd_rom\n"); + } else { + cd_media_cd_rom = 1; + info(udev, "profile 0x08 media_cd_rom\n"); } return 0; } -- 2.39.5