Followup to r13469.  lineno has already been asserted to be != NULL.
No need to check it again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14413 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c
index 3143d78..f1dd861 100644
--- a/coregrind/m_errormgr.c
+++ b/coregrind/m_errormgr.c
@@ -1119,7 +1119,7 @@
       while (True) {
          n = get_char(fd, &ch);
          if (n == 1 && !VG_(isspace)(ch)) break;
-         if (n == 1 && ch == '\n' && lineno)
+         if (n == 1 && ch == '\n')
             (*lineno)++;
          if (n <= 0) return True;
       }
@@ -1130,7 +1130,7 @@
       while (True) {
          n = get_char(fd, &ch);
          if (n <= 0) return False; /* the next call will return True */
-         if (ch == '\n' && lineno)
+         if (ch == '\n')
             (*lineno)++;
          if (ch == '\n') break;
          if (i > 0 && i == nBuf-1) {
diff --git a/include/pub_tool_errormgr.h b/include/pub_tool_errormgr.h
index 235eb67..427c0f0 100644
--- a/include/pub_tool_errormgr.h
+++ b/include/pub_tool_errormgr.h
@@ -101,8 +101,8 @@
    small for the line, it will be realloc'd until big enough (updating
    *bufpp and *nBufp in the process).  (It will bomb out if the size
    gets ridiculous).  Skips leading spaces on the line.  Increments
-   *lineno with the number of lines read if lineno is non-NULL. Returns
-   True if no extra information line could be read. */
+   *lineno with the number of lines read. Returns True if no extra
+   information line could be read. */
 extern Bool VG_(get_line) ( Int fd, HChar** bufpp, SizeT* nBufp, Int* lineno );