scst_lib: Convert spaces into tabs (reported by checkpatch)

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-12-29 12:14:52 +00:00
parent bbb89ed456
commit fa29d4cd3d

View File

@@ -109,12 +109,12 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap)
*/
int hex_to_bin(char ch)
{
if (ch >= '0' && ch <= '9')
return ch - '0';
ch = tolower(ch);
if (ch >= 'a' && ch <= 'f')
return ch - 'a' + 10;
return -1;
if (ch >= '0' && ch <= '9')
return ch - '0';
ch = tolower(ch);
if (ch >= 'a' && ch <= 'f')
return ch - 'a' + 10;
return -1;
}
EXPORT_SYMBOL(hex_to_bin);
#endif