Commit 5887738
nvmem: core: drop unnecessary range checks in sysfs callbacks
The same checks have already been done in sysfs_kf_bin_write() and
sysfs_kf_bin_read() just before the callbacks are invoked.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240705074852.423202-12-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 6839fed commit 5887738
1 file changed
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 206 | | |
211 | 207 | | |
212 | 208 | | |
213 | 209 | | |
214 | 210 | | |
215 | 211 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 212 | | |
220 | 213 | | |
221 | 214 | | |
| |||
243 | 236 | | |
244 | 237 | | |
245 | 238 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 239 | | |
251 | 240 | | |
252 | 241 | | |
253 | 242 | | |
254 | 243 | | |
255 | 244 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | 245 | | |
260 | 246 | | |
261 | 247 | | |
| |||
0 commit comments