Revert "staging: android: ram_console: honor dmesg_restrict"

This reverts commit dd09979346.

Change-Id: If3d555d89f9aea765961b90eb2cd65dd92a78949
This commit is contained in:
Devin Kim
2012-10-10 12:50:17 -07:00
committed by Iliyan Malchev
parent 63e59a96a6
commit 471e4d5bef

View File

@@ -101,9 +101,6 @@ static ssize_t ram_console_read_old(struct file *file, char __user *buf,
char *str;
int ret;
if (dmesg_restrict && !capable(CAP_SYSLOG))
return -EPERM;
/* Main last_kmsg log */
if (pos < old_log_size) {
count = min(len, (size_t)(old_log_size - pos));