File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 45
45
#include <linux/export.h>
46
46
#include <linux/interval_tree_generic.h>
47
47
#include <linux/seq_file.h>
48
- #include <linux/sched/signal.h>
49
48
#include <linux/slab.h>
50
49
#include <linux/stacktrace.h>
51
50
@@ -367,11 +366,6 @@ next_hole(struct drm_mm *mm,
367
366
struct drm_mm_node * node ,
368
367
enum drm_mm_insert_mode mode )
369
368
{
370
- /* Searching is slow; check if we ran out of time/patience */
371
- cond_resched ();
372
- if (fatal_signal_pending (current ))
373
- return NULL ;
374
-
375
369
switch (mode ) {
376
370
default :
377
371
case DRM_MM_INSERT_BEST :
@@ -563,7 +557,7 @@ int drm_mm_insert_node_in_range(struct drm_mm * const mm,
563
557
return 0 ;
564
558
}
565
559
566
- return signal_pending ( current ) ? - ERESTARTSYS : - ENOSPC ;
560
+ return - ENOSPC ;
567
561
}
568
562
EXPORT_SYMBOL (drm_mm_insert_node_in_range );
569
563
You can’t perform that action at this time.
0 commit comments