bmap: remove useless warning
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 8 Nov 2012 13:52:18 +0000 (15:52 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 8 Nov 2012 17:01:22 +0000 (19:01 +0200)
No need to print a warning when copying to a regualr file, it makes little
sense and useless.

Change-Id: I77ccfe2b0a20e2ad90f97a19fdde1d8a06bd8026
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmap

diff --git a/bmap b/bmap
index 1141ac9..1af2d4d 100755 (executable)
--- a/bmap
+++ b/bmap
@@ -50,9 +50,6 @@ def copy_command(args, log):
         log.error(str(err))
         raise SystemExit(1)
 
-    if not writer.target_is_block_device:
-        log.warning("'%s' is not a block device!" % args.bdev)
-
     start_time = time.time()
     if not args.bmap:
         log.info("no block map given (see the --bmap option)")