a) Needlessly, not necessarily
He unnecessarily repeated too much of what others had covered.
b) Not by necessity.
The food provided was unnecessarily generous, especially for an Oxfam event.
See Also: unnecessary, necessarily
Wikipedia foundation.