diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-12 20:51:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-12 20:51:55 +0200 |
commit | 26c137621f2262e445905969c414f70d0466793b (patch) | |
tree | 298c2433c07158582f8a7dc58f5d2d9ba54aa9b9 /target/linux/generic/patches-4.4/834-ledtrig-libata.patch | |
parent | 75b069f505233807c44072c3773ab8ad57f6fa2a (diff) | |
download | upstream-26c137621f2262e445905969c414f70d0466793b.tar.gz upstream-26c137621f2262e445905969c414f70d0466793b.tar.bz2 upstream-26c137621f2262e445905969c414f70d0466793b.zip |
kernel: remove out-of-tree patches for reducing qdisc truesize
The copy overhead can be quite expensive
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.4/834-ledtrig-libata.patch')
-rw-r--r-- | target/linux/generic/patches-4.4/834-ledtrig-libata.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch index c60fc1a515..9a9203b140 100644 --- a/target/linux/generic/patches-4.4/834-ledtrig-libata.patch +++ b/target/linux/generic/patches-4.4/834-ledtrig-libata.patch @@ -110,11 +110,11 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> + for (i = 0; i < host->n_ports; i++) { + if (unlikely(!host->ports[i]->ledtrig)) + continue; - ++ + snprintf(host->ports[i]->ledtrig_name, + sizeof(host->ports[i]->ledtrig_name), "ata%u", + host->ports[i]->print_id); -+ + + host->ports[i]->ledtrig->name = host->ports[i]->ledtrig_name; + + if (led_trigger_register(host->ports[i]->ledtrig)) { |