Repository navigation
Commit b68f09e
block: sed-opal: reuse response_get_token to decrease code duplication
response_get_token had already been in place, its functionality had
been duplicated within response_get_{u64,bytestring} with the same error
handling. Unify the handling by reusing response_get_token within the
other functions.
Co-authored-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 7d9b62a commit b68f09e
1 file changed
Lines changed: 15 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
886 | | - | |
| 886 | + | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
| 889 | + | |
| 890 | + | |
897 | 891 | | |
898 | | - | |
899 | 892 | | |
900 | | - | |
901 | | - | |
| 893 | + | |
902 | 894 | | |
903 | 895 | | |
904 | 896 | | |
905 | 897 | | |
906 | | - | |
| 898 | + | |
907 | 899 | | |
908 | 900 | | |
909 | 901 | | |
| |||
919 | 911 | | |
920 | 912 | | |
921 | 913 | | |
922 | | - | |
923 | | - | |
| 914 | + | |
| 915 | + | |
924 | 916 | | |
925 | 917 | | |
926 | 918 | | |
927 | 919 | | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
| 920 | + | |
932 | 921 | | |
933 | | - | |
934 | | - | |
935 | | - | |
| 922 | + | |
| 923 | + | |
936 | 924 | | |
937 | | - | |
938 | 925 | | |
939 | | - | |
940 | | - | |
941 | | - | |
| 926 | + | |
| 927 | + | |
942 | 928 | | |
943 | 929 | | |
944 | 930 | | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
| 931 | + | |
| 932 | + | |
949 | 933 | | |
950 | 934 | | |
951 | 935 | | |
952 | | - | |
| 936 | + | |
953 | 937 | | |
954 | 938 | | |
955 | 939 | | |
| |||
0 commit comments