diff --git a/arch/arm/mach-msm/qdsp6v2/q6core.c b/arch/arm/mach-msm/qdsp6v2/q6core.c index bb992db8476..8014254fa98 100644 --- a/arch/arm/mach-msm/qdsp6v2/q6core.c +++ b/arch/arm/mach-msm/qdsp6v2/q6core.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. +/* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -249,8 +249,6 @@ static ssize_t apr_debug_write(struct file *file, const char __user *buf, int len; static int t_len; - if (count < 0) - return 0; len = count > 63 ? 63 : count; if (copy_from_user(l_buf + 20 , buf, len)) { pr_info("Unable to copy data from user space\n");