History

tracing: Remove a pointless assignment

The variable 'len' has been assigned a value but is not used after that. So, remove the assignement. Link: https://lkml.kernel.org/r/20200930184303.22896-1-sudipm.mukherjee@gmail.com

Sudip Mukherjee committed 6 years ago

Commit 43aa4221 parent 40dc4a41 file · +0 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/trace/trace.c+0−1
@@ -6667,7 +6667,6 @@ tracing_mark_write(struct file *filp, const char __user *ubuf, · 6666 unmodified lines
66676667 written = -EFAULT;
66686668 } else
66696669 written = cnt;
6670− len = cnt;
66716670
66726671 if (tr->trace_marker_file && !list_empty(&tr->trace_marker_file->triggers)) {
66736672 /* do not add \n before testing triggers, but add \0 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t