+ cyclades-cleanup.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Cyclades Cleanup

has been added to the -mm tree.  Its filename is

     cyclades-cleanup.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Cyclades Cleanup
From: Eric Sesterhenn <snakebyte@xxxxxx>


coverity choked at two !tty checks, in places where tty can never be NULL. 
Since it removes some code we should remove these checks.  (Coverity ids
#763,#762)

Signed-off-by Eric Sesterhenn <snakebyte@xxxxxx>
Acked-by: Alan Cox <alan@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/cyclades.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/cyclades.c~cyclades-cleanup drivers/char/cyclades.c
--- a/drivers/char/cyclades.c~cyclades-cleanup
+++ a/drivers/char/cyclades.c
@@ -2833,7 +2833,7 @@ cy_write(struct tty_struct * tty, const 
         return 0;
     }
         
-    if (!tty || !info->xmit_buf || !tmp_buf){
+    if (!info->xmit_buf || !tmp_buf){
         return 0;
     }
 
@@ -2884,7 +2884,7 @@ cy_put_char(struct tty_struct *tty, unsi
     if (serial_paranoia_check(info, tty->name, "cy_put_char"))
         return;
 
-    if (!tty || !info->xmit_buf)
+    if (!info->xmit_buf)
         return;
 
     CY_LOCK(info, flags);
_

Patches currently in -mm which might be from snakebyte@xxxxxx are

git-alsa.patch
git-dvb.patch
git-gfs2.patch
more-bug_on-conversion.patch
cyclades-cleanup.patch
fix-typo-in-drivers-isdn-hisax-q931c.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux