diff options
author | Alexander Lobakin <alobakin@pm.me> | 2021-02-02 13:31:35 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-04 18:20:14 -0800 |
commit | a79afa78e625e4dbe0e07c70929d477ba3386e45 (patch) | |
tree | 3d9a4f1ce87582ee194541f71deff27ba1383301 /net | |
parent | bc38f30f8dbce0afb8af05d917bee084b1329418 (diff) |
net: use the new dev_page_is_reusable() instead of private versions
Now we can remove a bunch of identical functions from the drivers and
make them use common dev_page_is_reusable(). All {,un}likely() checks
are omitted since it's already present in this helper.
Also update some comments near the call sites.
Suggested-by: David Rientjes <rientjes@google.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Cc: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions