Remove unneeded compile time check.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 24 Oct 2010 12:37:15 +0000 (12:37 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 24 Oct 2010 12:37:15 +0000 (12:37 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4456 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/io/kfile.c

index f4df850b1133390743187daeb1d44b771e7121b8..f8981180324ce4bb6a36b2c899b5b8d15fa3b073 100644 (file)
@@ -195,11 +195,9 @@ kfile_off_t kfile_genericSeek(struct KFile *fd, kfile_off_t offset, KSeekMode wh
                break;
        }
 
-       #if LOG_LEVEL >= LOG_LVL_INFO
        /* Bound check */
        if (seek_pos + offset > fd->size)
                LOG_INFO("seek outside EOF\n");
-       #endif
 
        fd->seek_pos = seek_pos + offset;