"Either potions or history." He shrugged with a smile. "I was banned from the Muggle Studies section for excessive laughter. And if even then I knew it was bad..." He let the sentence trail off as they approached the library doors.
Other options:
no subject
"Either potions or history." He shrugged with a smile. "I was banned from the Muggle Studies section for excessive laughter. And if even then I knew it was bad..." He let the sentence trail off as they approached the library doors.