diff options
Diffstat (limited to 'isp')
| -rw-r--r-- | isp/omap3isp.c | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/isp/omap3isp.c b/isp/omap3isp.c index 2c48748..3d687a6 100644 --- a/isp/omap3isp.c +++ b/isp/omap3isp.c @@ -374,14 +374,12 @@ omap3_isp_pipeline_create_pool(struct omap3_isp_device *isp,  	char *endp;  	name += 5; -	if (*name != '\0') { -		if (*name != ':') -			return NULL; +	if (*name != ':') +		return NULL; -		nbufs = strtoul(name + 1, &endp, 10); -		if (*endp != '\0') -			return NULL; -	} +	nbufs = strtoul(name + 1, &endp, 10); +	if (*endp != '\0') +		return NULL;  	pool = malloc(sizeof *pool);  	if (pool == NULL) | 
