Commit 61ae30c
FROMLIST: misc: fastrpc: Allow fastrpc_buf_free() to accept NULL
Make fastrpc_buf_free() a no-op when passed a NULL pointer, allowing
callers to avoid open-coded NULL checks.
Link: https://lore.kernel.org/all/20260526111124.515-6-jianping.li@oss.qualcomm.com/
Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>1 parent d7a3b33 commit 61ae30c
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
| 588 | + | |
590 | 589 | | |
591 | 590 | | |
592 | 591 | | |
| |||
1728 | 1727 | | |
1729 | 1728 | | |
1730 | 1729 | | |
1731 | | - | |
1732 | | - | |
| 1730 | + | |
1733 | 1731 | | |
1734 | 1732 | | |
1735 | 1733 | | |
| |||
0 commit comments