summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/skip_spaces.c
blob: a700b3c7f7d0697f756b4196bd50e8ce9fea59f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-2.0

#include <linux/ctype.h>
#include <linux/types.h>

char *skip_spaces(const char *str)
{
	while (isspace(*str))
		++str;
	return (char *)str;
}