There's no need to print debug messages unless the user actually needs
to debug something. Also, delete the useless "foo!" message and
convert an unconditional Print into a debug message.
Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-#define DEBUG 1
#include <fs.h>
#include <ilog2.h>
#include <disk.h>
disk.rdwr_sectors = efi_rdwr_sectors;
disk.sector_shift = ilog2(disk.sector_size);
- dprintf("foo!\n");
- Print(L"sector_size=%d, disk_number=%d\n", disk.sector_size,
- disk.disk_number);
+ dprintf("sector_size=%d, disk_number=%d\n", disk.sector_size,
+ disk.disk_number);
priv->bio = bio;
priv->dio = dio;