disk: Remove check which is always false

Type unsigned long long int according to C99 can store at least 2^64-1.
This commit is contained in:
Pali Rohár committed 2017-01-09 22:56:33 +01:00
1 parent 87867a5904
commit 66ecce9a3d
1 file changed
-5
-5
View File
@@ -207,11 +207,6 @@ int disk_dump_dev(int fd, const char * file) {
#endif
if ( blksize > ULLONG_MAX ) {
ERROR("Block device is too big");
return -1;
}
if ( blksize == 0 ) {
ERROR("Block device has zero size");
return -1;