patch-pre2.0.10 linux/drivers/isdn/teles/buffers.c

Next file: linux/drivers/isdn/teles/callc.c
Previous file: linux/drivers/isdn/isdn_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/drivers/isdn/teles/buffers.c linux/drivers/isdn/teles/buffers.c
@@ -1,6 +1,10 @@
-/* $Id: buffers.c,v 1.2 1996/04/29 22:48:14 fritz Exp $
+/* $Id: buffers.c,v 1.3 1996/05/31 00:56:53 fritz Exp $
  *
  * $Log: buffers.c,v $
+ * Revision 1.3  1996/05/31 00:56:53  fritz
+ * removed cli() from BufPoolAdd, since it is called
+ * with interrupts off anyway.
+ *
  * Revision 1.2  1996/04/29 22:48:14  fritz
  * Removed compatibility-macros. No longer needed.
  *
@@ -41,7 +45,6 @@
 BufPoolAdd(struct BufPool *bp, int priority)
 {
 	struct Pages   *ptr;
-	long            flags;
 	byte           *bptr;
 	int             i;
 	struct BufHeader *bh = NULL, *prev, *first;
@@ -79,11 +82,8 @@
 		bptr += PART_SIZE(bp->pageorder, bp->bpps);
 	}
 
-	save_flags(flags);
-	cli();
 	first->next = bp->freelist;
 	bp->freelist = bh;
-	restore_flags(flags);
 	return (0);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this