This patch removes the unnecessary else condition which is out of
format anyway.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
{
if (cmbsz == 0) {
printf("\tController Memory Buffer feature is not supported\n\n");
+ return;
}
- else {
- printf("\tOffset (OFST): %x (See cmbsz.szu for granularity)\n",
+ printf("\tOffset (OFST): %x (See cmbsz.szu for granularity)\n",
(cmbloc & 0xfffff000) >> 12);
- printf("\tBase Indicator Register (BIR): %x\n\n", cmbloc & 0x00000007 );
- }
+ printf("\tBase Indicator Register (BIR): %x\n\n", cmbloc & 0x00000007 );
}
static const char *nvme_register_szu_to_string(__u8 szu)